Carbon


Count1Resources

Header: Resources.h Carbon status: Supported

Returns the total number of resources of a given type in the current resource file.

SInt16 Count1Resources (
    ResType theType
);
theType

A resource type.

The total number of resources of the given type in the current resource file only.

DISCUSSION

To check for errors, call the ResError function.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)